//
//  AudioCell.h
//  TestAudio
//
//  Created by 悠哉小哥哥 on 2018/7/2.
//  Copyright © 2018年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>

#import <Masonry.h>

#import <AVFoundation/AVFoundation.h>

#import "AudioSingleton.h"


@class AudioCell;
@protocol AudioCellDelegate <NSObject>
@optional



- (NSIndexPath *)audioCellClickControlCell:(AudioCell *)audioCell;


@end



typedef void(^IndexBlock)(NSIndexPath *indexP);


@interface AudioCell : UITableViewCell


@property (nonatomic, strong) UIButton *clickBtn; // 

@property (nonatomic, strong) UISlider *slider; //


@property (nonatomic, copy) NSString *stringAudio;


@property (weak, nonatomic) id<AudioCellDelegate> audioDelegate;



@property (nonatomic, strong) AudioSingleton *audioPlayer;

@property (nonatomic, assign) CGFloat value;

@property (nonatomic, strong) UILabel *startLabel;
@property (nonatomic, strong) UILabel *finishLabel;



@property (nonatomic, strong) IndexBlock indexBlock;
@property (nonatomic, assign) BOOL boolChecked;


@end
